<?php
class Tourism_goods_category_additive_model extends CI_Model
{
    private $table   = 'tourism_goods_category_additive';
    
    public function findByCategoryId($categoryId){
        $this->db->select('*');
        $this->db->from($this->table);
        $this->db->where('category_id',$categoryId);
        
        return $this->db->get();
    }
}